package fr.form.synthese;

import java.math.BigDecimal;
import java.util.Date;

public class SyntheseApplication implements java.io.Serializable,Comparable<SyntheseApplication> {

	private static final long serialVersionUID = 1L;

	private Integer id;
	private String libelle;
	private String lien;
	private String image;
	private BigDecimal montant;
	private Integer statutApplication;
	private String statutApplicationLib;
	private Date dateMaj;
	private Date dateCreate;
	private String dateMajStr;

	public SyntheseApplication() {}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLibelle() {
		return this.libelle;
	}

	public void setLibelle(String libelle) {
		this.libelle = libelle;
	}

	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public BigDecimal getMontant() {
		return this.montant;
	}

	public void setMontant(BigDecimal montant) {
		this.montant = montant;
	}

	public Integer getStatutApplication() {
		return this.statutApplication;
	}

	public void setStatutApplication(Integer statutApplication) {
		this.statutApplication = statutApplication;
	}

	public String getStatutApplicationLib() {
		return this.statutApplicationLib;
	}

	public void setStatutApplicationLib(String statutApplicationLib) {
		this.statutApplicationLib = statutApplicationLib;
	}

	public String getDateMajStr() {
		return dateMajStr;
	}

	public void setDateMajStr(String dateMajStr) {
		this.dateMajStr = dateMajStr;
	}

	public Date getDateMaj() {
		return dateMaj;
	}

	public void setDateMaj(Date dateMaj) {
		this.dateMaj = dateMaj;
	}

	public String getLien() {
		return lien;
	}

	public void setLien(String lien) {
		this.lien = lien;
	}

	public int compareTo(SyntheseApplication syn) {
		return syn.getDateCreate().compareTo(this.getDateCreate());
	}

	public Date getDateCreate() {
		return dateCreate;
	}

	public void setDateCreate(Date dateCreate) {
		this.dateCreate = dateCreate;
	}

}
